package o;

import android.os.AsyncTask;
import android.os.Handler;
import android.os.Looper;
import android.os.Message;
import android.text.TextUtils;
import com.huawei.appgallery.serverreqkit.api.bean.ResponseBean;
import com.huawei.appgallery.serverreqkit.api.bean.ResponseBean.a;
import com.huawei.appgallery.serverreqkit.api.bean.startup.StartupResponse;
import com.huawei.appgallery.serverreqkit.api.listener.IServerCallBack;
import java.io.File;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.util.concurrent.Executor;

import o.dmt.b;
import org.json.JSONObject;

public class AsyLoader extends AsyncTask<BaseRequest, Void, ResponseBean> implements cwb {
    private static String ॱॱ;
    protected String ʻ = null;
    private ResponseBean ʼ;
    protected List<String> ʽ = null;
    protected IServerCallBack ˊ;
    private String ˊॱ;
    protected e ˋ;
    private boolean ˋॱ = false;
    protected int ˎ = 0;
    protected dmt ˏ = null;
    private cvz ͺ;
    protected Handler ॱ;
    private boolean ॱˊ = false;
    private BaseRequest ᐝ;

    public interface e {
        void ˎ(AsyLoader o_cwa);

        void ॱ(AsyLoader o_cwa);
    }

    protected /* synthetic */ Object doInBackground(Object[] objArr) {
        return ˋ((BaseRequest[]) objArr);
    }

    protected /* synthetic */ void onPostExecute(Object obj) {
        ˊ((ResponseBean) obj);
    }

    public AsyLoader(BaseRequest o_cvu, IServerCallBack iServerCallBack) {
        ॱ(o_cvu);
        this.ˊ = iServerCallBack;
        this.ͺ = new cvz(this);
        ˏ(BaseRequest.getCacheID(o_cvu));
        if (iServerCallBack != null) {
            ˏ(ॱˊ() + iServerCallBack.hashCode());
        }
        if (Looper.getMainLooper().getThread().getId() == Thread.currentThread().getId()) {
            this.ॱ = new cwd(this);
        }
    }

    public static void ˋ(String str) {
        String ॱ = ॱ(str);
        if (TextUtils.isEmpty(ॱ)) {
            cvp.ˎ.ˋ("ServerAgentImpl", "removeCache, fileName is empty: " + ॱ);
            return;
        }
        cvp.ˎ.ˋ("ServerAgentImpl", "removeCache, fileName: " + ॱ);
        dnw.ˊ(new File(ॱ));
    }

    private static String ˎ(String str) {
        if (str == null) {
            return null;
        }
        try {
            MessageDigest instance = MessageDigest.getInstance("MD5");
            instance.update(str.getBytes("UTF-8"));
            return doa.ˎ(instance.digest());
        } catch (NoSuchAlgorithmException e) {
            return String.valueOf(str.hashCode());
        } catch (UnsupportedEncodingException e2) {
            return String.valueOf(str.hashCode());
        }
    }

    private static String ॱ(String str) {
        if (TextUtils.isEmpty(str)) {
            return str;
        }
        Object ˎ = ˎ(str);
        cvp.ˎ.ˋ("ServerAgentImpl", String.format(Locale.ENGLISH, "getCacheFile, newFileName:%s, oldFileName:%s", new Object[]{ˎ, str}));
        if (TextUtils.isEmpty(ˎ)) {
            return str;
        }
        return cwf.ˏ() + ˎ;
    }

    public static String ˏ() {
        return ॱॱ;
    }

    public static void ˊ(String str) {
        ॱॱ = str;
    }

    public BaseRequest ˎ() {
        return this.ᐝ;
    }

    public final void ˏ(Executor executor) {
        if (getStatus() == Status.PENDING) {
            executeOnExecutor(executor, new BaseRequest[]{ˎ()});
            return;
        }
        cvp.ˎ.ˏ("ServerAgentImpl", "execute Executor Interrupted , getStatus is " + getStatus());
    }

    public final ResponseBean ˊ() {
        ResponseBean ˏ;
        ResponseBean ˏ2 = ˏ(ˎ());
        if (ˏ2 != null && (ˏ2 instanceof StartupResponse)) {
            if (((StartupResponse) ˏ2).ˊ() != 1) {
                ʽ(cwn.ॱ(ˎ()));
                return ॱॱ();
            } else if (!(ˏ2.getResponseCode() == 0 && ˏ2.getRtnCode_() == 0)) {
                StringBuilder stringBuilder = new StringBuilder("preExcuted call StartupRequest failed:");
                stringBuilder.append(ˏ2.getResponseCode());
                stringBuilder.append("-");
                stringBuilder.append(ˏ2.getRtnCode_());
                cvp.ˎ.ˊ("ServerAgentImpl", stringBuilder.toString());
                ˏ = cwn.ˏ(ˎ());
                ResponseBean.setResponseCode(ˏ, ˏ2.getResponseCode());
                ResponseBean.setErrCause(ˏ, ˏ2.getErrCause());
                ˏ.setRtnCode_(ˏ2.getRtnCode_());
                ʽ(ˏ);
                return ॱॱ();
            }
        }
        ˏ = null;
        do {
            if (this.ˎ > 0 && ˏ != null) {
                cvp.ˎ.ˏ("ServerAgentImpl", "call store error! method:" + BaseRequest.getMethod_(ˎ()) + ", responseCode:" + ResponseBean.getResponseCode(ˏ) + ", retryTimes:" + this.ˎ);
            }
            ˏ = ॱ();
            ˋ(ˏ);
        } while (ˏ(ˏ));
        ʽ(ˏ);
        return ॱॱ();
    }

    protected ResponseBean ˏ(BaseRequest o_cvu) {
        return null;
    }

    public boolean ˏ(ResponseBean responseBean) {
        if (isCancelled()) {
            return false;
        }
        if (ResponseBean.getResponseCode(responseBean) != 1 && ResponseBean.getResponseCode(responseBean) != 2) {
            return false;
        }
        int i = this.ˎ;
        this.ˎ = i + 1;
        return i >= 3 ? ˎ(responseBean) : true;
    }

    protected boolean ˎ(ResponseBean responseBean) {
        return false;
    }

    public void ˊ(e eVar) {
        this.ˋ = eVar;
    }

    protected ResponseBean ˋ(BaseRequest... o_cvuArr) {
        ResponseBean responseBean;
        cvp.ˎ.ˋ("ServerAgentImpl", "doInBackground, method:" + BaseRequest.getMethod_(ˎ()) + ", requestType:" + BaseRequest.getRequestType(ˎ()));
        ResponseBean responseBean2 = null;
        if ((BaseRequest.getRequestType(ˎ()) != o.cvu.RequestStrategy.REQUEST_CACHE && BaseRequest.getRequestType(ˎ()) != o.cvu.RequestStrategy.REQUEST_CACHE_FIRST) || ˊॱ()) {
            responseBean = responseBean2;
        } else if (doo.ˊ(ContentManager.getInstant().getContext()) || BaseRequest.getRequestType(ˎ()) != o.cvu.RequestStrategy.REQUEST_CACHE) {
            responseBean = ˋ(ˎ());
        } else {
            try {
                responseBean = cvr.ˊ(BaseRequest.getMethod_(ˎ()));
            } catch (Throwable e) {
                cvp.ˎ.ˊ("ServerAgentImpl", "createResponseBean error, method:" + BaseRequest.getMethod_(ˎ()) + ", retryTimes:" + this.ˎ, e);
                responseBean = responseBean2;
            } catch (Throwable e2) {
                cvp.ˎ.ˊ("ServerAgentImpl", "createResponseBean error, method:" + BaseRequest.getMethod_(ˎ()) + ", retryTimes:" + this.ˎ, e2);
                responseBean = responseBean2;
            }
            if (responseBean == null) {
                responseBean = new ResponseBean();
            }
            ResponseBean.setResponseCode(responseBean, 3);
            ResponseBean.setErrCause(responseBean, com.huawei.appgallery.serverreqkit.api.bean.ResponseBean.e.NO_NETWORK);
            ʽ(responseBean);
            return responseBean;
        }
        if (responseBean != null) {
            ResponseBean.setResponseType(responseBean, a.FROM_CACHE);
            if (BaseRequest.getRequestType(ˎ()) == o.cvu.RequestStrategy.REQUEST_CACHE && this.ॱ != null) {
                Message obtainMessage = this.ॱ.obtainMessage();
                obtainMessage.obj = responseBean;
                this.ॱ.sendMessage(obtainMessage);
            } else if (BaseRequest.getRequestType(ˎ()) == o.cvu.RequestStrategy.REQUEST_CACHE_FIRST) {
                ʽ(responseBean);
                ᐝ(responseBean);
                return responseBean;
            }
        }
        responseBean = ˊ();
        ᐝ(responseBean);
        return responseBean;
    }

    private void ᐝ(ResponseBean responseBean) {
        if (!isCancelled() && this.ˊ != null) {
            if (responseBean == null) {
                ResponseBean ˊ;
                cvp.ˎ.ˊ("ServerAgentImpl", "notifyResult, response is null");
                try {
                    ˊ = cvr.ˊ(BaseRequest.getMethod_(ˎ()));
                } catch (Throwable e) {
                    cvp.ˎ.ˊ("ServerAgentImpl", "notifyResult, create response error, method:" + BaseRequest.getMethod_(ˎ()), e);
                    ˊ = responseBean;
                } catch (Throwable e2) {
                    cvp.ˎ.ˊ("ServerAgentImpl", "notifyResult, create response error, method:" + BaseRequest.getMethod_(ˎ()), e2);
                    ˊ = responseBean;
                }
                if (ˊ == null) {
                    ˊ = new ResponseBean();
                    ResponseBean.setErrCause(ˊ, com.huawei.appgallery.serverreqkit.api.bean.ResponseBean.e.PARAM_ERROR);
                } else {
                    ResponseBean.setErrCause(ˊ, com.huawei.appgallery.serverreqkit.api.bean.ResponseBean.e.UNKNOWN_EXCEPTION);
                }
                ResponseBean.setResponseCode(ˊ, 1);
            }
            this.ˊ.prePostResult(ˎ(), ॱॱ());
        }
    }

    protected ResponseBean ॱ() {
        Exception exception;
        Exception exception2;
        ʽ(cwg.ˎ().ˋ(ˎ().getMethod_()));
        if (ॱॱ() != null) {
            return ॱॱ();
        }
        ResponseBean ˊ;
        try {
            ˊ = cvr.ˊ(BaseRequest.getMethod_(ˎ()));
            try {
                if (doo.ˊ(ContentManager.getInstant().getContext())) {
                    ˋ();
                    String genBody = BaseRequest.genBody(ˎ(), false);
                    String reqUrl = BaseRequest.getReqUrl(ˎ());
                    String genBody2 = BaseRequest.genBody(ˎ(), true);
                    cvp.ˎ.ˋ("ServerAgentImpl", "callStore request,  method:" + BaseRequest.getMethod_(ˎ()) + ", url:" + reqUrl + ", body:" + genBody2);
                    reqUrl = BaseRequest.getReqUrl(ˎ());
                    b ॱ = ॱ(reqUrl, genBody);
                    String ˎ = ॱ.ˎ();
                    int ॱ2 = ॱ.ॱ();
                    if (ResponseBean.SERVER_UPGRADES_ERROR == ॱ2) {
                        ResponseBean.setResponseCode(ˊ, ResponseBean.SERVER_UPGRADES_ERROR);
                        ResponseBean.setErrCause(ˊ, com.huawei.appgallery.serverreqkit.api.bean.ResponseBean.e.SERVER_UPGRADES);
                        ˊ(ॱ.ˋ());
                        cvp.ˎ.ˏ("ServerAgentImpl", "Server upgrades, method:" + BaseRequest.getMethod_(ˎ()) + ", url:" + reqUrl);
                    } else if (ResponseBean.SERVER_DELAY_RETRY == ॱ2) {
                        ˊ = cwg.ˎ().ˊ(ˎ().getMethod_(), ॱ.ˊ());
                    } else if (TextUtils.isEmpty(ˎ)) {
                        ResponseBean.setResponseCode(ˊ, 1);
                        ResponseBean.setErrCause(ˊ, com.huawei.appgallery.serverreqkit.api.bean.ResponseBean.e.EMPTY_RESDATA);
                        cvp.ˎ.ˏ("ServerAgentImpl", "Store response error, method:" + BaseRequest.getMethod_(ˎ()) + ", url:" + reqUrl + ", body:" + genBody2 + ", resData == null");
                        ˎ(genBody, ˎ);
                    } else if (dof.ᐝ(ˎ)) {
                        ResponseBean ॱ3 = ॱ(genBody, ˎ, ˊ);
                        try {
                            ˎ(ˎ(), ॱ3, ˎ);
                            cvp.ˎ.ˋ("ServerAgentImpl", "callStore response, method:" + BaseRequest.getMethod_(ˎ()) + ", url:" + reqUrl + ", body:" + genBody2 + ", Receive Json msg:" + ResponseBean.getSafeData(ॱ3));
                            ˊ = ॱ3;
                        } catch (Exception e) {
                            exception = e;
                            ˊ = ॱ3;
                            exception2 = exception;
                            this.ͺ.ˎ(ˊ, exception2);
                            return this.ͺ.ˎ(ˊ);
                        } catch (Exception e2) {
                            exception = e2;
                            ˊ = ॱ3;
                            exception2 = exception;
                            this.ͺ.ˎ(ˊ, exception2);
                            return this.ͺ.ˎ(ˊ);
                        }
                    } else {
                        ResponseBean.setResponseCode(ˊ, 1);
                        ResponseBean.setErrCause(ˊ, com.huawei.appgallery.serverreqkit.api.bean.ResponseBean.e.JSON_ERROR);
                        cvp.ˎ.ˏ("ServerAgentImpl", "Store response error, method:" + BaseRequest.getMethod_(ˎ()) + ", url:" + reqUrl + ", body:" + genBody2 + ", resData is not json string");
                        ˎ(genBody, ˎ);
                    }
                    ResponseBean.setHttpStatusCode(ˊ, ॱ.ॱ());
                } else {
                    this.ͺ.ˋ(ˊ, 3, com.huawei.appgallery.serverreqkit.api.bean.ResponseBean.e.NO_NETWORK, null);
                }
            } catch (RuntimeException e3) {
                exception2 = e3;
                this.ͺ.ˎ(ˊ, exception2);
                return this.ͺ.ˎ(ˊ);
            } catch (Exception e4) {
                exception2 = e4;
                this.ͺ.ˎ(ˊ, exception2);
                return this.ͺ.ˎ(ˊ);
            }
        } catch (Exception e22) {
            exception = e22;
            ˊ = null;
            exception2 = exception;
            this.ͺ.ˎ(ˊ, exception2);
            return this.ͺ.ˎ(ˊ);
        } catch (Exception e222) {
            exception = e222;
            ˊ = null;
            exception2 = exception;
            this.ͺ.ˎ(ˊ, exception2);
            return this.ͺ.ˎ(ˊ);
        }
        return this.ͺ.ˎ(ˊ);
    }

    private b ॱ(String str, String str2) throws IOException {
        this.ˏ = new dmt();
        if (BaseRequest.getReqContentType(ˎ()) == o.cvu.RequestBodyType.FILE) {
            if (!(ˎ().getFileParamName() == null || ˎ().getFile() == null)) {
                ˎ().setFileMap(new HashMap());
                ˎ().getFileMap().put(ˎ().getFileParamName(), ˎ().getFile());
            }
            return this.ˏ.ˎ(str, ˎ().getHost(), str2, ˎ().getFileMap(), ʼ());
        } else if (BaseRequest.getReqContentType(ˎ()) == o.cvu.RequestBodyType.FORM) {
            return ˊ(str, ˎ().getHost(), str2, ʼ(), "application/x-www-form-urlencode");
        } else {
            return ˊ(str, ˎ().getHost(), str2, ʼ(), null);
        }
    }

    private b ˊ(String str, String str2, String str3, String str4, String str5) throws IOException {
        this.ˏ = new dmt();
        try {
            this.ˏ.ˏ(this.ʽ);
            if (str5 != null) {
                return this.ˏ.ॱ(str, str2, str3, str4, str5);
            }
            return this.ˏ.ˋ(str, str2, str3, str4);
        } catch (IOException e) {
            IOException iOException = e;
            cvz o_cvz = this.ͺ;
            boolean z = doo.ˎ(eqp.ᐝ()) || bmt.ˊ();
            o_cvz.ˏ(z);
            cvp.ˎ.ˏ("ServerAgentImpl", "doPostWithDnsParse() error, method:" + BaseRequest.getMethod_(ˎ()) + ", url:" + str + ", " + iOException.toString());
            throw iOException;
        }
    }

    protected ResponseBean ˋ(BaseRequest o_cvu) {
        ResponseBean responseBean;
        Throwable e;
        Throwable th;
        String ॱ = ॱ(BaseRequest.getCacheID(o_cvu));
        if (ॱ == null) {
            return null;
        }
        try {
            cfp o_cfp = new cfp(ॱ);
            if (BaseRequest.getCacheExpiredTime(o_cvu) != 0) {
                if (((System.currentTimeMillis() - o_cfp.ˋ()) / 1000) / 3600 >= ((long) BaseRequest.getCacheExpiredTime(o_cvu))) {
                    cvp.ˎ.ˋ("ServerAgentImpl", "The cache has expired:" + BaseRequest.getMethod_(o_cvu));
                    return null;
                }
            }
            ResponseBean ˊ = cvr.ˊ(BaseRequest.getMethod_(o_cvu));
            try {
                ॱ = (String) o_cfp.ˎ();
                if (TextUtils.isEmpty(ॱ)) {
                    responseBean = null;
                } else {
                    cvp.ˎ.ˋ("ServerAgentImpl", "readFromCache, method:" + BaseRequest.getMethod_(o_cvu));
                    ResponseBean.setResponseType(ˊ, a.FROM_CACHE);
                    responseBean = ॱ("requestCache", ॱ, ˊ);
                    try {
                        if (ResponseBean.getResponseCode(responseBean) == 0) {
                            ॱ(true);
                        }
                    } catch (IllegalAccessException e2) {
                        e = e2;
                        cvp.ˎ.ˊ("ServerAgentImpl", "readFromCache error, request.method:" + BaseRequest.getMethod_(o_cvu), e);
                        return responseBean;
                    } catch (InstantiationException e3) {
                        e = e3;
                        cvp.ˎ.ˊ("ServerAgentImpl", "readFromCache error, request.method:" + BaseRequest.getMethod_(o_cvu), e);
                        return responseBean;
                    }
                }
            } catch (Throwable e4) {
                e = e4;
                responseBean = ˊ;
                cvp.ˎ.ˊ("ServerAgentImpl", "readFromCache error, request.method:" + BaseRequest.getMethod_(o_cvu), e);
                return responseBean;
            } catch (Throwable e42) {
                e = e42;
                responseBean = ˊ;
                cvp.ˎ.ˊ("ServerAgentImpl", "readFromCache error, request.method:" + BaseRequest.getMethod_(o_cvu), e);
                return responseBean;
            }
        } catch (Throwable e422) {
            th = e422;
            responseBean = null;
            e = th;
            cvp.ˎ.ˊ("ServerAgentImpl", "readFromCache error, request.method:" + BaseRequest.getMethod_(o_cvu), e);
            return responseBean;
        } catch (Throwable e4222) {
            th = e4222;
            responseBean = null;
            e = th;
            cvp.ˎ.ˊ("ServerAgentImpl", "readFromCache error, request.method:" + BaseRequest.getMethod_(o_cvu), e);
            return responseBean;
        }
        return responseBean;
    }

    protected void ˎ(BaseRequest o_cvu, ResponseBean responseBean, String str) {
        if ((BaseRequest.getRequestType(o_cvu) == o.cvu.RequestStrategy.REQUEST_CACHE || BaseRequest.getRequestType(o_cvu) == o.cvu.RequestStrategy.REQUEST_CACHE_FIRST || BaseRequest.getRequestType(o_cvu) == o.cvu.RequestStrategy.REQUEST_REF_CACHE || BaseRequest.getRequestType(o_cvu) == o.cvu.RequestStrategy.REQUEST_NETWORK_REF_CACHE) && ResponseBean.getResponseCode(responseBean) == 0 && ResponseBean.getRtnCode_(responseBean) == 0) {
            String cacheID = BaseRequest.getCacheID(o_cvu);
            cvp.ˎ.ˋ("ServerAgentImpl", "requestType:" + BaseRequest.getRequestType(o_cvu) + ",wirteCache, method:" + BaseRequest.getMethod_(o_cvu));
            cacheID = ॱ(cacheID);
            if (cacheID != null) {
                new cfp(cacheID).ˎ(str);
                if (BaseRequest.getRequestType(o_cvu) == o.cvu.RequestStrategy.REQUEST_REF_CACHE) {
                    ResponseBean.setResponseType(responseBean, a.REF_CACHE);
                }
            }
        }
    }

    private ResponseBean ॱ(String str, String str2, ResponseBean responseBean) {
        try {
            responseBean.fromJson(new JSONObject(str2));
            ResponseBean.setResponseCode(responseBean, 0);
            ˋ(str, str2, responseBean);
        } catch (Throwable e) {
            cvp.ˎ.ˊ("ServerAgentImpl", "parse json error", e);
        } catch (Throwable e2) {
            cvp.ˎ.ˊ("ServerAgentImpl", "parse json error", e2);
        } catch (Throwable e22) {
            cvp.ˎ.ˊ("ServerAgentImpl", "parse json error", e22);
        } catch (Throwable e222) {
            cvp.ˎ.ˊ("ServerAgentImpl", "parse json error", e222);
        }
        return responseBean;
    }

    public void ˋ(String str, String str2, ResponseBean responseBean) {
    }

    public void ˋ() {
    }

    public void ˋ(ResponseBean responseBean) {
    }

    protected void ˎ(String str, String str2) {
    }

    public void ᐝ() {
        ॱ(ॱॱ());
    }

    protected void ॱ(ResponseBean responseBean) {
        if (!isCancelled() && this.ˊ != null) {
            ResponseBean ˊ;
            if (responseBean == null) {
                cvp.ˎ.ˋ("ServerAgentImpl", "notifyResult, method:" + BaseRequest.getMethod_(ˎ()) + ", response is null");
                try {
                    ˊ = cvr.ˊ(BaseRequest.getMethod_(ˎ()));
                } catch (Throwable e) {
                    cvp.ˎ.ˊ("ServerAgentImpl", "notifyResult, create response error, method:" + BaseRequest.getMethod_(ˎ()), e);
                    ˊ = responseBean;
                } catch (Throwable e2) {
                    cvp.ˎ.ˊ("ServerAgentImpl", "notifyResult, create response error, method:" + BaseRequest.getMethod_(ˎ()), e2);
                    ˊ = responseBean;
                }
                if (ˊ == null) {
                    ˊ = new ResponseBean();
                    ResponseBean.setErrCause(ˊ, com.huawei.appgallery.serverreqkit.api.bean.ResponseBean.e.PARAM_ERROR);
                } else {
                    ResponseBean.setErrCause(ˊ, com.huawei.appgallery.serverreqkit.api.bean.ResponseBean.e.UNKNOWN_EXCEPTION);
                }
                ResponseBean.setResponseCode(ˊ, 1);
            } else {
                ˊ = responseBean;
            }
            this.ˊ.notifyResult(ˎ(), ˊ);
        }
    }

    public boolean ʽ() {
        if (getStatus() == Status.FINISHED || isCancelled()) {
            return true;
        }
        return false;
    }

    public void ˎ(boolean z) {
        if (!ʽ()) {
            cvp.ˎ.ˋ("ServerAgentImpl", "cancelTask, method:" + BaseRequest.getMethod_(ˎ()) + ", requestType:" + BaseRequest.getRequestType(ˎ()));
            if (this.ˏ != null) {
                this.ˏ.ˊ();
                this.ˏ = null;
            }
            cancel(z);
        }
    }

    protected void onCancelled() {
        super.onCancelled();
        if (this.ˋ != null) {
            this.ˋ.ॱ(this);
        }
    }

    protected void ˊ(ResponseBean responseBean) {
        cvp.ˎ.ˋ("ServerAgentImpl", "onPostExecute, method:" + BaseRequest.getMethod_(ˎ()) + ", requestType:" + BaseRequest.getRequestType(ˎ()) + ", responseType:" + ResponseBean.getResponseType(responseBean));
        if (this.ˋ != null) {
            this.ˋ.ˎ(this);
        } else {
            ᐝ();
        }
    }

    protected String ʼ() {
        return "Android/1.0";
    }

    public AsyLoader ʻ() {
        AsyLoader o_cwa = new AsyLoader(ˎ(), this.ˊ);
        o_cwa.ʽ(ॱॱ());
        o_cwa.ॱ = this.ॱ;
        o_cwa.ˋ = this.ˋ;
        o_cwa.ॱ(ˊॱ());
        return o_cwa;
    }

    public void ˋ(String str, Throwable th) {
        StringBuilder stringBuilder = new StringBuilder();
        stringBuilder.append("invoke store error");
        stringBuilder.append(", exceptionType:").append(th.getClass().getSimpleName());
        stringBuilder.append(", url:").append(str);
        stringBuilder.append(", method:").append(BaseRequest.getMethod_(ˎ()));
        stringBuilder.append(", retryTimes:").append(this.ˎ);
        cvp.ˎ.ˊ("ServerAgentImpl", stringBuilder.toString());
    }

    public void ˏ(List<String> list) {
        this.ʽ = list;
    }

    public void ॱ(BaseRequest o_cvu) {
        this.ᐝ = o_cvu;
    }

    public ResponseBean ॱॱ() {
        return this.ʼ;
    }

    public void ʽ(ResponseBean responseBean) {
        this.ʼ = responseBean;
    }

    public boolean ˊॱ() {
        return this.ॱˊ;
    }

    public void ॱ(boolean z) {
        this.ॱˊ = z;
    }

    public String ॱˊ() {
        return this.ˊॱ;
    }

    public void ˏ(String str) {
        this.ˊॱ = str;
    }

    public boolean ˋॱ() {
        return this.ˋॱ;
    }

    public void ˋ(boolean z) {
        this.ˋॱ = z;
    }
}
